package com.springCloud.euraka.example.controller;

import com.springCloud.euraka.example.service.ExampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Title: ExampleController<br>
 * Description: ExampleController<br>
 * CreateDate:2021年02月08日 15:42
 *
 * @author jackie.scl
 */
@RestController
@RequestMapping("/example")
public class ExampleController {
    @Autowired
    private ExampleService exampleService;

    /**
     * Title: 示例<br>
     * Description: example<br>
     * CreateDate: 2021/2/8 15:50<br>
     *
     * @param exampler
     * @return java.lang.String
     * @throws Exception
     * @category 示例
     * @author jackie.scl
     */
    @RequestMapping("/exampler")
    public String example(String exampler) {
        return exampleService.example(exampler);
    }
}
